package com.springboot.demo.service;


import com.cx.item.common.par.PageParam;
import com.cx.item.common.service.BaseService;
import com.github.pagehelper.PageInfo;
import com.springboot.demo.model.example.InformationExample;
import com.springboot.demo.model.model.Information;
import com.springboot.demo.model.par.InformationPar;
import com.springboot.demo.model.vo.InformationVo;

import java.util.List;

public interface InformationBGService extends BaseService<Information, InformationExample> {

    int create(InformationPar informationPar);

    PageInfo<List<InformationVo>> queryList(PageParam pageParam);

    int update(InformationPar informationPar);

    int delById(Integer informationId);

    InformationVo queryById(Integer id);
}